package com.holyant.goods.dto.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.QueryDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/**
 * 仓库SKU编码实体 gds_sku_warecode
 *
 * @author tswsoft
 * @date 2021-04-10
 */
@Data
@ApiModel("仓库SKU编码")
public class GdsSkuWarecodeQueryDto extends QueryDto {

    private static final long serialVersionUID = 1L;

    /**
     * 仓库id
     */
    @ApiModelProperty(value = "仓库sku编码")
    private Long warehouseId;

    /**
     * 仓库名称
     */
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    /**
     * sku id
     */
    @ApiModelProperty(value = "sku id")
    private Long skuId;

    /**
     * sku编码
     */
    @ApiModelProperty(value = "sku编码")
    private String skuCode;

    /**
     * sku名称
     */
    @ApiModelProperty(value = "sku名称")
    private String skuName;

    /**
     * 商品编码
     */
    @ApiModelProperty(value = "商品编码")
    private String goodsCode;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    /**
     * 所属分类Id
     */
    @ApiModelProperty(value = "所属分类Id")
    private String categoryId;

    /**
     * 所属分类
     */
    @ApiModelProperty(value = "所属分类")
    private String categoryName;

    /**
     * 仓库sku编码
     */
    @ApiModelProperty(value = "仓库sku编码")
    private String wareSkuCode;

    /**
     * 商品条码
     */
    @ApiModelProperty(value = "商品条码")
    private String goodsBarcode;

    /**
     * 失效日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "失效日期")
    private LocalDate expireDate;
}
